﻿using System.Web.SessionState;

namespace Logistics.Utility
{
    public static class MessageFactory
    {
        public static string CreateNotFoundMessage(string entityName, string id)
        {
            return string.Format("Cannot find {0} with id {1}.", entityName, id);
        }

        public static string CreatePageParamsInvalidMessage()
        {
            return "pageSize and pageNumber must larger than 0.";
        }
    }
}